"""
读取csv
"""
import csv

file = open("../data/logintest.csv", "r", encoding='utf-8')
table = csv.reader(file)
userinfo = {}
i = 0
for row in table:
    if i == 0:
        pass
    else:
        userinfo['username'] = row[0]
        userinfo['password'] = row[1]
        userinfo['res'] = row[2]
        print(userinfo)
    i = i + 1
